package xin.yangshuai.basic01.extend;

/**
 * Person
 *
 * @author shuai
 * @date 2023/1/13
 */
public class Person {

    private String name;

    public int age;

    public void info() {
        System.out.println("Person 的 info");
        System.out.println("获取 message");
        this.message();

    }

    public void message() {
        System.out.println("Person 的 message");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
